WPStaging\Backup\Service\Archiver B

Total Complexity 97
Dependencies 25
Dependents 7
Total lines 787
Lines of code 388
Logical lines of code 268
Comment lines 203
Methods 32
Properties 14

Methods 32

Method Rating Maintainability Complexity Lines of code
addIndexPartSize()
A
43 14 49
addFileIndex()
A
40 13 57
appendFileToBackup()
A
42 12 50
addIndex()
A
47 9 35
renameBackup()
S
60 4 13
updateIndexInformationForAlreadyAddedIndex()
S
52 3 22
generateBackupMetadata()
S
56 3 19
createArchiveFile()
S
69 4 6
initiateDtoByFilePath()
S
66 4 8
getMaxPhpTimeLimitAllowed()
S
62 3 11
maybeIncrementFileAppendTimeLimit()
S
63 3 11
appendToArchiveFile()
S
64 2 11
getFinalBackupParentDirectory()
S
71 2 6
getFinalPath()
S
68 2 7
getDelayForRetry()
S
68 2 7
__construct()
S
62 1 12
setFileAppendTimeLimit()
S
77 1 4
writeFileHeader()
S
72 1 5
getDestinationPath()
S
66 1 9
setBackupMetadataCategoryInfo()
S
81 1 3
incrementFilesCount()
S
80 1 3
setIndexPositionCreated()
S
81 1 3
isIndexPositionCreated()
S
81 1 3
getTempBackup()
S
82 1 3
getTempBackupIndex()
S
82 1 3
resetFileAppendTimeLimitAndRetries()
S
74 1 5
getBytesWrittenInThisRequest()
S
82 1 3
getDto()
S
82 1 3
setIsLocalBackup()
S
81 1 3
setupTmpBackupFile()
S
68 1 7
setIsTempBackup()
S
81 1 3
isBackupFormatV1()
S
76 1 4